<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
	<pre>
		<?php 
			$a1 = array('html','css','wordpress','jquery','php','javascript');
			$a2 = array('photoshop','illustrator','corelDraw','thinkpad');
			$merged = array_merge($a1, $a2);
			//kiểm tra xem có 1 phần tử bên trong mảng hay không?
			// if (in_array('css', $a1)) {
			// 	echo "yes, it is in array";
			// }
			// print_r($merged);
			// shuffle($a1);
			// print_r($a1);
			
			// $rand = array_rand($a1);
			// print_r($a1[$rand]);

			$viet_hoa = array_map('ucfirst', $a1);
			foreach ($viet_hoa as $hoa) {
				echo "<li>{$hoa}</li>";
			}
		?>
	</pre>	
</body>
</html>